package com.xs.designpattern;

import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * 精灵族的武器
 * @author xs
 */
@RequiredArgsConstructor
@Getter
public class ElfWeapon implements Weapon {
    private final WeaponType weaponType;

    @Override
    public String toString() {
        return "精灵" + weaponType;
    }
}
